package club.wx3609.images.interfaces.repository;

import club.wx3609.images.entity.Image;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ImageRepository extends JpaRepository<Image,Integer> {

    public List<Image> findByImageUrlPath(String imageUrlPath);

    public Image findByImageId(Integer imageId);

}
